//package com.plian.system.controller.fr.bankbalance;
//
//import com.plian.Tools.base.BaseController;
//import com.plian.Tools.pagedata.PageData;
//import com.plian.system.model.ListResult;
//import com.plian.system.model.ObjResult;
//import com.plian.system.service.fr.bankbalance.BankBalanceService;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//import org.springframework.web.multipart.MultipartHttpServletRequest;
//
//import java.util.List;
//
//@RestController
//@RequestMapping(value = "api/bankBalance")
//public class BankBalanceController extends BaseController {
//    @Autowired
//    BankBalanceService bankBalanceService;
//
//    @PostMapping(value = "/submit")
//    public ObjResult save(@RequestBody PageData pd) throws Exception {
//        return bankBalanceService.save(pd);
//    }
//
//    @PostMapping(value = "/list")
//    public ListResult<PageData> listpage(@RequestBody PageData pd) throws Exception {
////        return bankBalanceService.list(pd);
//        return bankBalanceService.listPage(pd);
//    }
//
//    @PostMapping(value = "/delete")
//    public ObjResult delete(@RequestBody PageData pd) throws Exception {
//        return bankBalanceService.delete((List<String>) pd.get("ids"));
//    }
//
//    @PostMapping(value = "/detail")
//    public ObjResult detail(@RequestBody PageData pd) throws Exception {
//        return bankBalanceService.detail(pd);
//    }
//    @PostMapping(value = "/getLastMonthValue")
//    public ListResult<PageData> getLastMonthValue(@RequestBody PageData pd) throws Exception {
//        return bankBalanceService.getLastMonthValue(pd);
//    }
//    @PostMapping(value = "/reportSelect")
//    public ObjResult reportSelect(@RequestBody PageData pd) throws Exception {
//        return bankBalanceService.reportSelect(pd);
//    }
//    @PostMapping(value = "/report1")
//    public ListResult<PageData> report1(@RequestBody PageData pd) throws Exception {
//        return bankBalanceService.report1(pd);
//    }
//    @PostMapping(value = "/report2")
//    public ObjResult report2(@RequestBody PageData pd) throws Exception {
//        return bankBalanceService.report2(pd);
//    }
//    @PostMapping(value = "/report3")
//    public ListResult<PageData> report3(@RequestBody PageData pd) throws Exception {
//        return bankBalanceService.report3(pd);
//    }
//    @PostMapping(value = "/uploadFile",produces="application/json;charset=UTF-8")
//    public ObjResult uploadFile(MultipartHttpServletRequest request) throws Exception {
//        return bankBalanceService.uploadFile(request);
//    }
//}
